/*    */ package com.zimbra.cs.client.soap;
/*    */ 
/*    */ import com.zimbra.common.service.ServiceException;
/*    */ import com.zimbra.common.soap.AccountConstants;
/*    */ import com.zimbra.common.soap.DomUtil;
/*    */ import org.dom4j.DocumentHelper;
/*    */ import org.dom4j.Element;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class LmcChangePasswordRequest
/*    */   extends LmcSoapRequest
/*    */ {
/*    */   private String mOldPassword;
/*    */   private String mPassword;
/*    */   private String mAccount;
/*    */   private static final String BY_NAME = "name";
/*    */   
/* 36 */   public void setOldPassword(String o) { this.mOldPassword = o; }
/* 37 */   public void setPassword(String p) { this.mPassword = p; }
/* 38 */   public void setAccount(String a) { this.mAccount = a; }
/*    */   
/* 40 */   public String getOldPassword() { return this.mOldPassword; }
/* 41 */   public String getPassword() { return this.mPassword; }
/* 42 */   public String getAccount() { return this.mAccount; }
/*    */   
/*    */   protected Element getRequestXML() {
/* 45 */     Element request = DocumentHelper.createElement(AccountConstants.CHANGE_PASSWORD_REQUEST);
/*    */     
/* 47 */     Element a = DomUtil.add(request, "account", this.mAccount);
/* 48 */     DomUtil.addAttr(a, "by", "name");
/*    */     
/* 50 */     DomUtil.add(request, "oldPassword", this.mOldPassword);
/*    */     
/* 52 */     DomUtil.add(request, "password", this.mPassword);
/* 53 */     return request;
/*    */   }
/*    */   
/*    */ 
/*    */   protected LmcSoapResponse parseResponseXML(Element responseXML)
/*    */     throws ServiceException
/*    */   {
/* 60 */     LmcChangePasswordResponse response = new LmcChangePasswordResponse();
/* 61 */     return response;
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/client/soap/LmcChangePasswordRequest.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */